Fix missing 'forloop' context object for nested for loops