Added quality flag for incomplete spectra.