Fix datastore string length limit issues for trx scripts.