Fix use of a raw cursor in ex_schema.c.