MDL-36380 stats: No more duplicated entries when viewing monthly stats