Fixed subject removing in teachers page