Fixed a PHP Notice when adding new fields.