TEIID-2853 fix for processing failure with aggregation