Adding query scopes for open and closed competitions