Hello,
this is probably useless bug report. But maybe it will help.
Sometimes (randomly) when pressing "preview" button in editor or when loading old revision of page the ~~NOTOC~~ is ignored.
See the screenshot:
http://winscp.sourceforge.net/temp/notoc1.png
and after page "reload":
http://winscp.sourceforge.net/temp/notoc2.png
Martin.