Resolve erroneous use of List to LinkedList.