Fixed bug of showing statistics for a month