Fixed SafePasser
Fixed cases when SafePasser was skipping elements after replacement. (New root has another depth)
Edited by Ершов Михаил Алексеевич
Fixed cases when SafePasser was skipping elements after replacement. (New root has another depth)