Moved uniqueness check to add_channel to avoid problem in future

Signed-off-by: arghdos <arghdos@users.noreply.github.com>