Fix group by missing comma bug.