fixing zero taxon names case for subtree query