Fix bug on spectra plot option

Refs #10391