Fix generation of sample data.