Fixed: Error thrown while calling element.isBogus() on orphaned BRs (children of docFragment).
It's time to do everything from scratch.