I confirmed that filter data table shouldn’t remove the headers:
Can you see what the values of the data table are? You should be able to find it in your locals like I did above.