Fix for subnets and sec groups