Fix bug where public views were saved in data import before all validations were completed