Moves the field_type search to the top of the loop so it can be returned immediately (Addresses issue #15)