Added support for arbitrary number of parameters for NOT, AND, OR in filter methods of Query