Fix bug in validation for CommonName attribute in CSR.