Fixed fatal error that prevents adding new stopwords, closes #821