Corrected a major error.  Refs #7001.

The algorithm to handle FitWindows were based on a wrong definition.
The code is corrected such that FitWindows specify the range data to fit
a peak.