Add grant URI to query.