only select active query results.