Simplyfied logic, once a string always a string.

**The issue**
No real issue, but if the field is a string once, it will always be a String so checking every time in the loop has no use.

**The Fix**
Moves the "is String" check in front of the loop, to avoid multiple checks with the same result.