Bugfix with multichannel detection.