Fix deletion of all items