Added date range search to stats_backend