Heterogeneous effects of heterogeneity: disentangling heterogeneity positive and negative effects on performance