Fix a bug in nWords.