Fixed bug in stats page whiched caused display of unwanted  empty days at beginning of last month