OPSMN-1635: For non-admin users, we add CP ID in AQL to restrict access to rows or data based on role user plays for that particular CP. This addition of CP ID was not taken into account for pivot table result processing. Made changes to correctly read pivot table group by column