Fix typo that resulted in names at TU scope getting lost sometimes after a
module import.