Netmask validation updated