plugins/transformsWithOnePath: fix last point calculation for C/S/Q/T