Fixes to for loops