Fix contest page range issue
Merge pull request #251 from mzry1992/contest-page-range-issue

Fix contest page range issue