Updated the exclude-list code to handle the new linked-list