Fix clearing the list.