I finally had time to try your new changes, sorry for not giving feedback sooner.

I think you misunderstood the teleport addon a bit.

If you set 10 bases to TXT and 1 base to RXT, all 10 bases will send to the 1 base.
If you set 10 bases to TXT and 2 bases to RXT, all 10 bases will send to the 1 base with the lowest planet number, the other base will get nothing.

As far as I can tell now, you are instead only having one base send to one other base in your prediction.

Nope, just get the lowest planet which has a RX* code, and send all the stuff from all the TX* over there.
Don't forget to take bases under construction into account (if you have not already). That is a flaw which is still in Tport 1.6
It does notice TX* commands for bases being build, but not RX*. And I can confirm that it works.