Feature #2565: Fix bug in acl creation