Fixes #3030 Error when copy/pasting acl roles