Should be

```python
prev_enabled = self._history_offset > 0
```