Use correct grouping specification