Documents with sdt tags break content ordering

`sdt` (Inline-Level Structured Document) tags hold `p` tags. If there are any `sdt` tags, due to look ahead for tables and lists, the content will show up at the end of the document. This behaviour is not correct.