[6916] Fixed typos in spell checking code.