Fix checking of frame channels vs stream channels.