Bug fix: curve_info with curves containing less than 3 points.