Fix trying to parse empty string.