Fix newline in cached predecessors/successors.