Fix setting range in peak_range caused Internal Server Error
Merge pull request #1 from silentshade/fix_peak_range

Fix setting range in peak_range caused Internal Server Error