Before the first time the statistics run, the statistic date is null, so, I added a check for that in order to avoid the NPE that was happening on prod
Merge pull request #318 from ORCID/dev-FixNPEThatHappensTheFirstTimeStatisticsRun

Before the first time the statistics run, the statistic date is null, so...