Make report_job() always return an int