LaTeX - tocvsec2 and pdftex's hyperref

I had a little problem with the tocvsec2 solution to the contents' depth as presented in the previous story - the hyperref pdf bookmarks that I set up to show up when opening the pdf file appeared to use the last \settocdepth setting as it's guide, not the individual parts. Of course I wanted that it would at least show the subsections for everything, if not for those parts that also showed in the contents pages. After some trying I solved it by putting \settocdepth{subsection} after the last \section{} in the last appendix. Putting it at the end of the file didn't work - there had to be some text after the \settocdepth command (and \newpage and \vspace{} didn't cut it either).

tocvsec2 & hyperref

Thanks for the tip mate!