Fixing major bug in PhraseCounter.