#433 filtering pulses
#433 fixes after review
Merge pull request #449 from krzyk/433

#449: pull request #433 filtering pulses