Fix the length of the data returned when editing a field