Minor fix for 2.4

This will prevent a fatal crash when the field has errors.
Merge pull request #155 from Solutions-Nitriques/patch-1

Minor fix for 2.4 (Version 3.3.1)