Implement index selection for OR clauses.