There's no perfect filter and no perfect transmitter... correct. But the devices are required to accept reasonable interference and I guarantee that the 5g transmitters don't produce unreasonable interference. This is an issue, like has been said, of poorly manufactured/broken altimeters.