Fix filter scope

The relation is many-to-many, thus the old approach didn't work.