Delete next/prev links when replacing/removing posts