Fix for export functionality breaking in datatables (in additional clien...

...t/loan tables etc)