make treegraph.taxid_subgraph more robust