Corrected doubly linked list