my suggestion should by that there is an extra option in the aggregations where you can see the real/exact query that will be executed at the database.
Now there is only an option that you can see query that is executed for the preview. It takes also in account the testvalues that you use.
in attachment you can see an image of that option
This can be convenient for debuggen issues.