Fix for export functionality breaking in datatables (in additional client/loan tables etc)