Fixed a minor bug with spell checking