Fix bug in node unsubscribing.