Retool auto-skipping column headers

I have a workflow where I am pulling data using SQL, processing it in JavaScript and then pushing it to Google Sheets.
The problem is that Retool seems to dump the data including column headers in the first push but starts auto-skipping the headers in subsequent dumps to Google Sheets. This inconsistent behaviour is confusing and there should be a toggle to stop Retool from doing this. I can skip headers using code.