fixes in client-api/session/querying/how-to-perform-dynamic-aggregation