Fix small bug preventing to complete addition of a domain.