Check if tags exist before finding synonyms.