Fixed create_oq_schema patch