fixed: Generator: when making [if-index] [if-index] statement has to look for a last [for] statement on the stack (because the stack is for all items now)