We were incorrectly always appending to the nearest ancestor in the partial update case, even when the node was eligible for replacement.