Fixed issue with items not being deleted.