FIX #1128: Failed optimizations will still update the job