Fixing a defect in the max graphs implementation. This will no honour the value in siteconfig.json.