Make the unique index work for subnets.ProviderId