Removed some very superfluous code from the for loops inside of AMScanViewSingleSpectrumView.