fix-cf-remez

These commits fix a few straggling issues we've been having with `cf` and `remez`.

Thanks to @nickhale for figuring out that these problems existed in the first place.