Fix team checks