Fixing a bug that could cause certain types of fields to be displayed incorrectly in the submission editing view.