FIX: issue #438 (FOREACH's iterator word doesn't have correct value after loop)