Fix a race condition when loading spreadsheet vs json data.