Fixed error in aggregation API example

SpaceProxy and class with extension methods does not have Query(string
params) method.