Re-initialize a variable. Re #8017
Merge branch 'bugfix/8017_error_in_peak_overlay' into develop