Fixed support for 'infinite' for loops in interpreter