Fix issue with null in Acl isAllowed.