Fix Index on import, remove index on thesaurus deletion