Fix an issue on the method comparing the channels.