Refs #8076. Handling None value for diag_spectra parameter.
Merge branch 'bugfix/8076_dgsdiagnose_diagspectra_handling' into develop