Because of my changes to fix-up search slices, they are in this list of slices now too.  So you need to guard this like so:
```js
if (slice.type === 'folder') {
  slice.headerCount = this.headerCount;
}
```