Leveldb first fix attempt (#468)