Fixing simple schemas generates bad metadata