Ensure trees are preserved

READ FULL ARTICLE