has introduced another error in groupby scan for single-value agg