Re #9958. Improved invalid spectra list handling