Fixed deleting of items