Only return groups that matched the filters
Only return groups that matched the filters

Instead of returning everything, pre-filter before iterating so the return value is only the matching groups.

culturecode/spatial_features