Fix bug where statistics from the last parsed day was count twice in months and years statisics.