Remove neighbor after prefixes