Minor bugfix in generate_example_data