Fix conversion error in sub-repetition value entered in command line or D-Bus command. Forward port commit 6a09f0b4 (KDE/4.14 branch).