Tiny fixes for previous branch features

These commits fix a few minor bugs introduced with the features from the previous pull request: especially wrong counting of articles and bad email matching.