Fix to only run jobs that have retries