Issue #2159347 by david_garcia, claudiu.cristea: Aggregation not working simple test case