I would assume both of the renamed airports still had unique ICAO identifiers -the same ones that are the only ones avionics suites will accept (in my personal experience)- and that it would require crew intervention at some level to modify that to a travel agents identifier, that may be not only not unique, but as easily portable as the name of the airport.
Hence the wrong airport.