leveldb: Fixes bloom filter testing

Revert some changes from 546b03ad0e07c6b711ef3f99aa79045bc20194b0
due to 9baf2ae01e398bd61b40ddfc12e544b87c0e2a93.