Fixed bug with a string of only whitespaces.