Fix bug when the element was first in list of synonyms.
APD-557-Enhance-synonyms-from-glossar