fix for-loop init variables with UpdateExpresssions between iterations (#150)

2 jobs from master in 3 minutes and 43 seconds (queued for 18 seconds)
Status Job ID Name Coverage
  Test
passed #7386448
test:0.12

03:43

passed #7386449
test:latest

01:10