Fixes Li.forEach on arrays.