Fix bug in python client with aggregation turned off.