Bug fix in shortest_path CLI