Fix bug where the app crashes after losing state with hidden comments.