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

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

00:03:43

passed #7386449
test:latest

00:01:10