Erratic numerical auto-substitution

Mostly (sometimes it works) it will not work on my current project, although all settings appear perfectly fine. In the example below I am justified to expect 8 to be substituted, or not?

Studio 2017, latest version

 

Parents Reply Children
No Data