your data-final-fixes line 15 and 45
table.insert(rail.collision_mask, "layer-14")
make your mod break space rails from space exploration, since it uses layer 14 as the space collision layer.
Consider excluding rails with the 'se-' prefix from that logic.