Fixed next/prev link update