Added a date range to the match clause.