Add the channel invalid command was called in.

fixes #584