Fix notice in cases where node_id differs from topic_id