Problems with ID route A to B

Thanks for testing. Can you show the attribute table it’s producing as well?

Maybe I see the problem in the second screenshot again: the yellow line is the highlighted route which goes from point 3 to 0 or vice versa. But why doesn’t this go from 0 to 0 in stead?