Makes sure that any netmask will be removed.