Fix bug in path construction to place with RootOf
Fix bug in path construction to place with RootOf

This is an addendum to 77e17ce2ea4c9f6c580b0e4f14312b3b5c8397cc.
Same issue, but occurring in a different location.

abelfunctions/abelfunctions,cswiercz/abelfunctions,abelfunctions/abelfunctions,abelfunctions/abelfunctions,cswiercz/abelfunctions,cswiercz/abelfunctions