#10 - Pagination middleware created - next/previous links and page item links needs extending for use with other query types