Fix team constraint