was not removing items from the list when they were deleted