Fixed labels.sparql in order to handle duplicate group membership