Fix some logic in the angular watch callback that fires when a date is being restore in the end date field.