Suppose you select something (v) and then substitute with something else (s). If you repeat the action (.) instead of replacing the initial text, the text is removed and you are taken to insert mode. In other words, adding the text and leaving insert mode is not repeated.
Substituting in normal-mode works fine.
Fix #27. Visual mode change/substitute, followed by '.' to repeat.