Properly handle allocation of single-host subnets.