Fix display of the next/previous links