&gt; I think this lines should (?) be moved below the newly introduced check.<br><br>*This* lines:<br>rPagePairs.clear();<br>rValidPagesSet.clear();<br>rValidStartFrms.clear();