CRM-14109 fix for test proving group count problem when permissioned ajax calls take place