Fixing search to work on hidden groups.