Fixed bug in the Statistics window that caused the today/yesterday set to include stuff from previous years.

Also to be quite honest the whole Statistics window should be redesigned
& rewritten from scratch, there's much better ways to both present and
process the data in there.