Fix method groupByColumns to compile