Bugfix for bug introduced in the multichannel cook patchset.