MDL-36380 stats: Issue with DST and monthly statistics