Fix filter polyfill