Fix wrong schema generation introduced in 0ddd488cc8e07b9f12eac5c9d820be9be4df3c53