Fixed graph toggle bug.