fix batching in SearchQuals