BUG: TreeNode.prune was ignoring length
Merge pull request #290 from wasade/prune_length

BUG: TreeNode.prune was ignoring length