add all_projects, all_dates to notequery.