Backported from 7.5: Changed foreach to step the iterator after the loop instead of before it, so that the iterator points to the current element instead of the next one. Also some cleanup in iterators.cmod. Rev: src/docode.c:1.163 Rev: src/interpret_functions.h:1.126 Rev: src/iterators.cmod:1.34 Rev: src/testsuite.in:1.592