Fixed bug in parsing when negative numbers in spectra.