Fixed type switching in user global activity page not working since datatables upgrade