Capitalize First Char in a Sentence - Text Expansion

See Sentence case in the Text Toolbox II set of macros:

I just ran your text through it:

hi, I'm trying to move all of my snippets from typinator to keyboard maestro. i think one of my primary functionalities of typinator is basically capitalizing the first character of any sentence. i created this macro, but it runs fine 80% of the time; in certain cases, it repeats the period .. (two periods) and sometimes adds an extra character after the period for some reason. can anybody please help me figure out what the issue is or if there's a simpler way to do this?

to get this:

Hi, I'm trying to move all of my snippets from typinator to keyboard maestro. I think one of my primary functionalities of typinator is basically capitalizing the first character of any sentence. I created this macro, but it runs fine 80% of the time; in certain cases, it repeats the period .. (two periods) and sometimes adds an extra character after the period for some reason. Can anybody please help me figure out what the issue is or if there's a simpler way to do this?