Can't cash str.begin when "insert" is involved.
Merge pull request #594 from ivannp/bug01

Can't cash str.begin when "insert" is involved.