Fixed bug where min/max scan values in steteS for the merged scan were incorrectly stored. This bug affected the windowing for the merged scans.