Fixing a bug in the spellchecker