Checks now for "const not on const graph" problem