Fix crash in graph where you print the current node twice.