Fixes cvt table length; removes cvt when hints invalid
Merge pull request #3878 from yurydelendik/issue2799

Removes cvt when hints invalid