Correctly deals with group-allocations in the search view.