Diversity on teams leads to positive outcomes, but not for all individuals