Spreadsheet: Fix to prevent unwanted characters in spreadsheet cells