Fix admin dashboard tables when table is empty