Tweaks to the linked list stuff after bug checked in.