Sort out relation ambiguity.