Added query_mode and filter_mode chainable query