Bugfix for spreadsheet appscript.