Fix duplications by ACL, fixes #4932