Fixing seq and set confusion issue for Thrift records.