Fix column alias handling in aggregated