Removing searches from linked list incorrectly.