do not use the selected version and product when creating a tag for a new TOC, you can be creating a TOC for a version that is not currently selected