Preventing footnote in headers to link in TOC

I am preparing a manuscript and need in the odd case to add a footnote to a heading. While I can superscript the footnote in the heading it seems that LO then proceeds to add a footnote also on the page of the TOC. This will result in duplicate (and uggly) handling of the footnote as it will also be inserted on the page of the actual heading.

How can I prevent the footnote to be linked on the page of the TOC?

LO: Writer: 4.4.2.2

I have a similar problem and still have gotten no help. Using 4.4.7.2

How do you remove the footnote numbers from the TOC?