Notebook correctly handles a re-run