Fix MAGN-747 in 'Run Automatically' mode

MAGN-747: multiple assignment when changed to referenced statement does not evaluate