In LevelDB API remove asserts from functions that return values.