Fix duplicate export removal.