When you edit a patient's unit or a schedule's unit, for which the unit is not the first in the dropdown list, the pre-filled value is incorrect.