#167 fixed when creating field on search form when form has no fields