refs #6767. Fix and unit test.
Merge branch 'bugfix/6767_integrated_peaks' into develop