tdb:delete_all fixed