fix filtering

so it actually works :)