Domain name validation: Small fixes