Fixed issue with words with diacritics not matching