The empty-list fix is the right call, since the summary queries were the only thing standing between a damaged file and the health report. One thing I would also pin down is the paged reader's historyRows throw, so a stray -wal file does not silently change which copy opens. The damaged-fixture tests are a good guard for that.