fixed bug in add/edit classes

cannot not make teacher from other school allocated to a class from that
school.  Previously could do it from csv.