fix: change group of word if corrected during query