fix: Error in comparison. Also ChapterFlagEnabled can be empty.