This is a fix for strange behaivor that you reproduce with next steps:
1) Run MvcPaging.Demo
2) Go to "Paging with a custom page route value key"
3) Click on last page "52" just after "..."
4) You'll see that page 53 appears.
Also wrong tests are fixed. They expected to have two pages at the end right after "...", but there should be only one page.
This is a fix for strange behaivor that you reproduce with next steps:
Also wrong tests are fixed. They expected to have two pages at the end right after "...", but there should be only one page.