FIX: issue #443 (FOREACH with block arguments is broken in a local context)