Fix adding of teachers to team group