Handle synonyms that duplicate sample names better