Fixed wrong condition in examples/simple/igraph_get_shortest_paths.