Fixed bug #1240. 1-char strings working correctly.

Fixed bug #1240, about an error thrown when trying to add a string with length of one character.