Fix wrong filter is removed in eb9dcc43ed54585ec00010c93765c12752a983ad