Fix for-each calling itself map.

Signed-off-by: Casey Dwyer <caseydwyer@gmail.com>