Fix previous page pagination link.
Add method to get request params with a fallback.