Problem: Loop variable can't be found. Solution: Adjust block_id of the loop variable each round.
Problem: Crash when using for loop variable in closure. Solution: Check that the variable wasn't deleted. (issue #11094)