Fix in pagination to reflect changes made in get_jobs for rq >= 0.3.8

Fix in pagination to reflect changes made in get_jobs for rq >= 0.3.8