Some minor fixes related to the AJAX datatables