Sanity check page parameter used in findPage

Closes #3510
- Make sure the page parameter is does not overflow the
  integer data type.
- Added tests.
Merge pull request #3525 from jaswilli/issue-3510

Sanity check page parameter used in findPage