Changing all non-done and non-failed job statuses to 'undefined'