Fixed the linked list bugs where data wasn't being set.