In the following MWE, the section number is reset at the beginning of each chapter. If, in the ToC, you click S4 it goes to S1, which is wrong. Both S4 and S1 have the same page number. The same thing happens in the second chapter's minitoc. Is there a way to make sure the links only point to the corresponding section of the same chapter despite the fact the sections have the same page number?
\documentclass{book}
\usepackage{minitoc}
\usepackage{hyperref}
\begin{document}
\dominitoc
\tableofcontents
\chapter*{Test 1}
\mtcaddchapter[Test 1]
\pagenumbering{arabic}
\minitoc
\section{S0}
\clearpage
\section{S1}
\clearpage
\section{S2}
\chapter*{Test 2}
\setcounter{section}{0}
\mtcaddchapter[Test 2]
\pagenumbering{arabic}
\minitoc
\section{S3}
\clearpage
\section{S4}
\clearpage
\section{S6}
\end{document}
hypertexnames=false. This may cause problems with other of hyperref's facilities. – Dan Nov 18 '13 at 22:26