Take another look at the original sentence:
You wanted to fix it this way:
Using a semicolon is an excellent way to join two complete sentences. However, when you use this method, do not capitalize the word that follows the semicolon [unless it is a proper noun that is always capitalized]. Because the When is capitalized, this choice is incorrect.
You might want to consult the rules for fixing comma splices and fused sentences.