added limit to jobs query