Changing :page-size -> :page_size, for consistency and ease of use from JavaScript
Optimising query to check for outstanding work. Forgot to include filter by :ready_for_work jobs. Also restricted to just returning the first job.