I know what bugs me about the spell is that maps with "harbours" - land province to land province links over sea are not broken.
That's not a bug with the spell. Land borders between ports are just like regular land borders, they are not considered at all. It is a mapmaking decision.