fix InList and NotInList operation