fixed problem with deep page links from pagination paths