Change results_per_page from query argument to argument