Previous link ranges would never be cleared when resetting text, causing crashes when used in UITableViewCells.