Fix broken and fragile delete.