Geonodes -Trouble with the "Delete Geometry" node

Hey, I’m having a little trouble where the Delete Geometry node deletes more geo in the render than what appears in the viewport. I was wondering whether I was doing something wrong or if it was a bug

In the viewport :

In the render:

The node group:

The selection:

The “roots” vertex group:

The tree trunks are following bezier curves in a geo group just before the deletion group, and it’s more likely to happen when they’re stretched a lot, but I just don’t understand why it’s not the same as in the viewport (It also changes the generation of leaves and other details but I suppose it is due to the change in the surface mesh ?)

Nevermind I realized right after posting that there were some subdivision modifiers disabled in the viewport but still enabled for rendering on some hidden instance meshes used to make the trunks

Explains everything
Oops