bandpass: ensure filter types are bandpass

To specify the filter type, one sets the filter type attribute to the
string 'bandpass'.