Fix EZP-23627: Priority of children lost during subtree copy
Merge pull request #1109 from schroeder/fix_lost_priority_on_subtreecopy

EZP-23627: Priority of children lost during subtree copy