fix leveldb iterator
Merge pull request #7 from ebuchman/master

fix leveldb iterator