Yeah I'm having the same problem. e.g.
Here an exemple of Voruk interstar connection:
interStarConnection
starIndexA 0
planetIndexA 4
starIndexB 3
planetIndexB 1
spawnProbability 1.0
type "Wormhole"
The star indexA is 0, which I understand. However, the planet IndexA is 4. The only wormholes in the Star 0 system are planet 1 and planet 5. Also, it isn't the 4th planet, because there is a planet 0, 1, 2, 3 and 5, making the wormholes the 2 and 5th planets. Additionally, planet 4 is actually in the Star 7 system.