if (tree->virtual >= 0)
if (tree->virtual >= 0 || (tree->collapsed && (!ctx->pattern || tree->limited)))
int is_next_displayed (HEADER *tree){  int depth = 0;  if ((tree = tree->next) == NULL)    return (0);  FOREVER  {    if (tree->virtual >= 0)      return (1);    if (tree->child)    {      tree = tree->child;      depth++;    }    else    {      while (!tree->next && depth > 0)      {	tree = tree->parent;	depth--;      }      if ((tree = tree->next) == NULL)	break;    }  }  return (0);}