Fix crash on “not a chan op” error