Fix pagination on iati searches.
Fix bug with r4d document metadata urls.