Added null check for grouping columns in group_control.py_in