manage formula node tracking correctly (fixes #43)