When Representatives Work: The Influence of Local Context on Minority Representation