I'm doing a filtering of the productList and if I'm on page 2 when I do it and the results only generates one page of products it still tryes to show the second page because it sais PageNum=2 in the url.
The current page is set to page 1.
How can I set it så that pageNum is removed from the url or shows the first page (PageNum=1)?