Fix adding channel. Change check for ensure_valid in core/storage