Fixed rare word output issue.