fixing cases where we want jobs to be null to skip them