fix error that can occur with adding subnet
Merge pull request #29 from markmcclain/havana

fix error that can occur with adding subnet