Feature/pagefiltering

@the-hobbes Can you take a look at the error thats resulting from the queryset being None? 

I've made an addition to the paging keys to include the type. Otherwise the type query is ignored entirely and the same page is always returned. However, after doing this I now have difficulty with the queryset being None near the end of the paging function. 

Can you take a look?