Thread:Extension talk:Include WP/TOC Disappears

I have put Include WP into a template. When I use that template in another page that has a TOC then the TOC loads with the page as normal but when the Include WP renders the included text the TOC is disappears. In fact, from looking at the source in Firebug it looks like the TOC HTML is removed.