I think I found where the bug is. In select_rtpp_node() function there is this function call: ``` // lookup node node = select_rtpp_node_old(callid, viabranch, do_test, op); ``` When select_rtpp_node() is called second time, active_rttp_set is set2, but select_rtpp_node_old() returns the previous node from set1 and a node from set2 is not selected.