Fixed a source code error. Refs #9766.
Merge branch 'feature/9766_GeneratePeaks_doc' into develop