WYIL: bug fix for the way that for loops are translated.