[FIX] fix peak boundary extension

- no extension of peak boundaries if zero value is encountered
- analogous to #880
[TEST] add test for zero cutoff