Merge pull request #3754 from nrwahl2/nrwahl2-backport
[3.0] XSLT: Preserve ACL reference behavior for replaced constraints