### Description: There seems to be an issue with the filtering of WMS layers. Certain layer groups are being excluded from the expected results. #### Expected Behavior: - All WMS layers and their corresponding groups should load as expected without exclusions. #### Actual Behavior: - Some WMS layer groups are being filtered out, leading to incomplete or incorrect layer sets.