SK-4674: Fix validation for addresses.