Use a, hopefully much faster, way of doing 'latest contract' in get-jobs query