Improved handling of unboxed for loops.