Fix wrong subfilter building

Provide a patch for #118