Fixed bug that made the dbgen crash