How Diversity Can Lead To Discrimination