#156 Fix error when adding new entry after deleting field