date range in queries fixed