Externally created flight plans start in midair for some airports

This is what the first file looks like in-game

And this is the second:

You can see it correctly gets the name of the airport, but not the ICAO, and I can’t select runways or parking. Manually searching for K09 and setting it as departure puts me back on the runway but blows the whole flight plan away.