Fixed bug in converting to strings.