Bug fixing: model fields failed when --new-fields was used to create a dataset