Fix auto completion of external thesaurus
Fix https://mantis.culture.fr/mantis/view.php?id=18284