Added ClearDistToRootToValidDist method that clears distances to the root object following froms back until it hits a dit to root that is valid.