And clear the list

To avoid confusion, as there was an error, it's best to clear the list of items.