Implement isOneOf and isNotOneOf filters