[WIP] Add aggregates to search queries.

this_aggregates -> this._aggregates