fix small bug where it required fields warning comes up when you sort items in the list