Allow single spectra in diagnostics

Refs #10264