fixes #3093 - invalid data for a subnet address or mask returns "is invalid and is invalid"