stats: fix off by one on date check

Closes #181.

Signed-off-by: Richard Marko <rmarko@redhat.com>