Grid: Export to xls will never include fields used in sc_field_display macro

I have a a grid where some fields are conditionally hidden by the sc_field_display() macro in the onScriptInit event.

The button to export the grid to XLS will never output those fields, even when the condition is not met and thus the fields are visible.

Can NeMake please fix this?