Handle case when end date is smaller than shift (map)