Hundreds of teachers sought exemption from election assignments.