QUIT tool fix for nested for loop/do blocks.