Fix broken HTML nesting when omitting Paragraphs based on choices.