added some defensiveness to cross-wiki search grouping instantiation