Fixed issue with parsing empty strings.