Fixing graphModel bug in resetting statTool