Fix thrift validation when inserting in CQL3 tables

Fixup for #5138