Spectrum: bug fix in filter