Fixed bug where pagination was not ordered and therefore results repeated themselves on other pages. In the future, order should be configurable.