The check for root property changes was wrong, and this was problematic for scoped repositories in some corner cases.
More specifically, a wc to wc copy from outside to inside of the scope, followed by some deletes of the copied files resulted in bogus entries in the `node_change` table. This fixes ticket:3778#comment:34.