Add some debugging checks to the Interpolator class, in case someone else hits the issue I saw as a once-off.