v2.2.7: Improves form section rendering and grouping
Enhances the form section rendering logic to correctly handle nested groups and hidden fields, ensuring accurate placement of form elements within their respective sections. This change addresses issues related to incorrect group ordering and the unwanted display of hidden fields within form sections. It improves the algorithm for hierarchical group creation and element filtering.