add: searchTermForQS.arbitraryHeader = searchTerm.arbitraryHeader 
context: function CreateGroupedSearchTerms(searchTermsArray){  var searchSession = gSearchSession ||     Components.classes[searchSessionContractID].createInstance(Components.interfaces.nsIMsgSearchSession);  // create a temporary isupports array to store our search terms  // since we will be modifying the terms so they work with quick search  var searchTermsArrayForQS = Components.classes["@mozilla.org/supports-array;1"].createInstance(Components.interfaces.nsISupportsArray);    var numEntries = searchTermsArray.Count();  for (var i = 0; i < numEntries; i++) {    var searchTerm = searchTermsArray.GetElementAt(i).QueryInterface(Components.interfaces.nsIMsgSearchTerm);     // clone the term, since we might be modifying it    var searchTermForQS = searchSession.createTerm();    searchTermForQS.value = searchTerm.value;    searchTermForQS.attrib = searchTerm.attrib;    searchTermForQS.op = searchTerm.op;    // mark the first node as a group    if (i == 0)      searchTermForQS.beginsGrouping = true;    else if (i == numEntries - 1)      searchTermForQS.endsGrouping = true;    // turn the first term to true to work with quick search...    searchTermForQS.booleanAnd = i ? searchTerm.booleanAnd : true;         searchTermsArrayForQS.AppendElement(searchTermForQS);  }  return searchTermsArrayForQS;}
meta: 10234	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/10234/f00fd85d630732ed29c85f992214ab59e7392451/commandglue.js/buggy/mail/base/content/commandglue.js