Restore group membership check for HG users in QueryAccess.