Fixed NullPointerException when there were no spellings for a word