Checking null when removing items and correctly clean the First and Last properties when the linked list is empty.