added a simple switch for AND/OR filtering in 'Advanced Filtering'