Simplify iteration in LevelDB.
Handle corner-case: null reflist.