Changed from foreach to iterator so that found fields from allFields can be removed from the list. This is a performance tuning fix
Authored by: rkisson 2011-07-01
Parent: [r5401]
Child: [r5403]