Handle case where ScheduledFailureId of a Run is null in the DB