Fix nondeterministic subtree copying bug
Add implicit 'any' after parent relation