Performance tweak to leveldb.