[background] fix when a spreadsheet is errored
The extension started throwing errors when there was an errored spreadsheet,
this small patch fixes that