Make the search module work with the new pagination (pagerfanta)

This fixes the blog module's compatibility with pagination. For more
info, see 061d4fec7be46b4f0ee478b4fc49c72abe81d918