Validator: fix netmask validator. Refs #2798