/// <summary>
 /// Create a request with a search term.
 /// </summary>
 /// <returns>The request that was created.</returns>
 protected override SearchIssuesRequest CreateTermRequest(string term) =>
 new SearchIssuesRequest(term)
 {
     Archived   = Archived,
     Assignee   = Assignee,
     Author     = Author,
     Base       = Base,
     Closed     = Closed.CreateRange(),
     Commenter  = Commenter,
     Comments   = Comments.CreateRange(),
     Created    = Created.CreateRange(),
     Exclusions = Exclusions.CreateSearchIssuesRequestExclusions(),
     Head       = Head,
     In         = In.NullIfEmpty(),
     Involves   = Involves,
     Is         = Is.NullIfEmpty(),
     Labels     = ToList(Labels),
     Language   = Language,
     Mentions   = Mentions,
     Merged     = Merged.CreateRange(),
     Milestone  = Milestone,
     No         = No,
     Order      = Order,
     Repos      = GetRepositories(Repos) ?? new RepositoryCollection(),                // A null value causes a delayed bug
     SortField  = SortField,
     State      = State,
     Status     = Status,
     Team       = Team,
     Type       = Type,
     Updated    = Updated.CreateRange(),
     User       = User
 };