fix teachers_assignments: can assign a teacher who arrived in the middle of a period