Revert "Make sure we do not skip over more than number of pages"
Revert "Make sure we do not skip over more than number of pages"

This reverts commit 51a72b125d3b83a722b24a8f7709bb39f28192f8.

harshavardhana/qed,msri/qed,harshavardhana/qed,harshavardhana/qed,msri/qed,msri/qed,msri/qed,harshavardhana/qed