Fixed clustering logic for unsorted trees
Merge pull request #109 from sdmiller/fix_clustering

Fixed clustering logic