Fixed a tiny notice when saving nodes programmatically.