I think this is going to break in unexpected ways. Like if you do a percentile query, the engine will then try to compute percentiles on the already computed percentile results.

I think it's better to have the PassthroughEngine support limits and use that.