Fix migration that caused creation of Subnet for networks that did not had enabled the 'dhcp' option.