Added OR support to queries.