Fixed path tailing.
Reinstated the robustness for path tailing.