Add support for IN and !IN queries