Remove student from teams functions properly.