Removes period that ended a sentence but appeared to be part of a command.