Fix deleting of any single object.