Fix error in batch scanning, which led to a unittest failure in random

runs for MVCC stats.
Are you sure you don't want to use DB.{cc,h} from viewfinder?