fixed the pagination prev and next links
https://github.com/GSA/data.gov/issues/311