Hi,
I found that when calling path_setedge function, the modified edge looses its bidirectional property set in WED and is no longer available from the other end node through path_getedge.

Salud!