Fixed errors in troia-data-generator.