Fixing an NPE for users that install the statistics for the firts time
Merge pull request #803 from ORCID/FixNPEOnEmptyStatistics

Fixing an NPE for users that install the statistics for the firts time