@Override
    protected boolean isInclusionEnabled(@NotNull ChangesBrowserNode<?> node) {
      boolean enabled = super.isInclusionEnabled(node);
      Object value = node.getUserObject();
      if (value instanceof AbstractFilePatchInProgress.PatchChange) {
        enabled &= ((AbstractFilePatchInProgress.PatchChange)value).isValid();
      }
      return enabled;
    }
@Override
    protected boolean isInclusionEnabled(@NotNull ChangesBrowserNode<?> node)