Fixed a bug about where clauses in MPs. Replaced SCHEMATA_BLOCK with schemata.resend.