Fix inside indexing - synonyms of words are now using correct literal_id.