Fix EZP-23603: ignore node visibility when checking subtree count
Merge pull request #179 from joaoinacio/EZP-23603_subtree_visibility

Fix EZP-23603: ignore node visibility when checking subtree count