Fixes #1922 foreignKey copy fix for acl assignments