Fix unvarred variable in stats graph script