Fixed broken query parameters counter for date ranges