Fixed spreadsheet output bug.