Remove duplicate glue and ns entries.