Fixes some tree syncing with legacy trees - now need to cleanup the delete animation stuff.
Fixes: U4-3466 Deleting Document Type with children fails