tdb_delete: check returns for 0, not -1.