Ensure TOC template is not added for EPUB2 [Fixes #43933293]