Do not crash in statistics module

Make statistics work, add 1 day to default form value to include newest items too.