Attempt to fix handling of quadratic splines with no on-curve points.

This addresses issue #1517.

I don't think that the code in the else block is necessary, but I'm keeping it at least until we've tested this extensively.