Cleanup redundant assignments in edit form processing.