Fixed the issue with the slash on the last node.