Change example 'int' to 'int2'.
Fix is_residual in crop_curves.

If the curve_set contains already 'is_residual' field, keep it. Otherwise, set that 'is_residual' is FALSE.