[Issue #52] Fixed computation of "aggregated" with resourceGroup and groupBy=Product