derivequery: pass search filter to query
derivequeries: added Query Mode option
derivequeries: combine derived query with original query using brackets
Merge pull request #152 from nikicat/derivequeryfix

derivequery: pass search filter to query