fix graph reports when no cust_classnum is provided, #26028, from #24776