Bug 1074851 - better logic in ``get_result_set_job_list``

Also added handling for a profile with no job exclusions