I ran into a peculiar issue… I do have a lot of work in my projects with groups and at times I change their visibility - this is done by iterating over all of the nodes using an each method. The logic is placed inside the transaction.
E.g.
tnx for the reply walter. I’ve tried console logging the result of the isVisible method as suggested… it returns true, although the group is not visible. I’m also not sure why the line of code I mentioned in the first post would cause a group to disappear.