Fixup delete of input bytes in primitive_convert.