Fixed the capitalization problem when the first word in a sentence is deleted.