Fix problems with items not being 'deleted'.