Fixed bug that was making the export buttons not to work. We load both table completely before hiding one with the checkbox.