Patch from Jim McDonough for bug #802. Retrieve the correct ACL group bits