There were cases where if the user tried to manage visibilities of
objects or collections, they could encounter errors or poor UX:
- If user excludes, disables, or nests the GNSK collection,
they'll get an error from ops.object.mode_set().
- If they unhide all objects in the GNSK collection and then add a new
sculpt,
they would see all the sculpts until they switched back and forth
once more.
Both of those issues and possibly more are fixed in this patch.