Properly invalidate linked list