When a document has two or more pages in its history, it's impossible to navigate to the next pages.
Problem is that current code compares parameters already resolved on the page provider, and parameters not only resolved => let the page provider make the comparison itself.