Reindex thesaurus if the name has changed
Fix https://mantis.culture.fr/mantis/view.php?id=18341