Fixes a regression: GetField only accepted string constants. Reported and investigated by @wojons.