Previous implementation would just insert the fragment as a child node, whereas it should insert its child nodes.