Be resilient to missing diagnostics.