fixed bug in subscription filter