Clarified tree error messages and changed how DAG LCA behaves when root is None to be more faithful to the original paper.