Changed grouping_planner and its required code to support lists in groupingExprs