Fix the merge_sort code so that it properly increments. We had a small bug where if you had branches descend from new roots, as well as sub-branches within them, the branch counter would skip, and then repeat itself. (the root was a post-increment, while sub-branches were pre-increment.) This changes both to be pre-increment.