Fix overlapping subnet creation

Fixes LP bug #1225623

Change-Id: Idfa2adbe1afe99afe6393901473a5ff87d89079d