Safer domain name validation
Fix for unequal