Fix a bug that caused spell checking to fail when using the builtin spanish dictionary