Fixes #9: fix case repeating.
Merge pull request #10 from Producenta/master

Fixes #9: fix case repeating.