Fix spreadsheet.py per review