idmap tdb2: fix broken logic in tdb2_store_bystring().