Fix nested middleware bug
Bug not. changing schema after the document has been created.