Fixed rarely failing DBHashMapTest.