Fixed logic in 'planned_or_completed_shift_assignments_cannot_overlap' validation