It now queries the entire set at once