Note, the CODM file is used to generate an ODF file. You must use the "load custom organ" feature to convert the CODM into an ODF, then after that if you load the ODF directly, it will not regenerate.
Also, it's not enough to just specify how many pipes are in the rank. As you've discovered, the division has to have the full number of keys, and you need a stoprank item that is configured to transmit the extra pipes as well. Try this and see if it works.