Pagination not quite working

Just for reference: The solution for this is in this topic in case someone else has a similar problem.