Fix error in Arbor.prototype.nextBranchNode