Added date filtering.