Thanks for your bug report. This is the intended behaviour. This is related to the inc/dec/set handling that has been discussed several times in the past. The last time a change was attempted relating to this, it broke existing scripts, so it was reverted. At this time, there is no way around it that does not break existing scripts.