Fix error in certain filters