Fix inspect_type for jitted loops