Fixing simple schemas generates bad metadata
Fixing SE-1664