Fix CvSTART() update to work when CvSTART() points to a node inside the tree

The previous implementation only worked when CvSTART() pointed to
the first node in the replaced sequence.