Fix thesaurus array converter