Fixed empty DN validation.