Don't assume a subnet will have a datacenter

Closes #271