Fix incorrect filter application scope