This is also reported in this workitem. It contains a suggested workaround from DarthObiwan.
You can change this without recompiling. The ElementFlags list is a
static property on the HtmlNode class. It can be removed withHtmlNode.ElementsFlags.Remove("form");
before doing the document load