Fix groupBy ref by label