Fixed bug selecting spectra type (obs or syn).