Fix bug affecting decimal string values for text