Fix a small bug in rewrite rope

Applied, thanks!
http://lists.cs.uiuc.edu/pipermail/cfe-commits/Week-of-Mon-20080331/005014.html
http://lists.cs.uiuc.edu/pipermail/cfe-commits/Week-of-Mon-20080331/005015.html

-Chris