Protection added to avoid a Seg Fault on ".q" when SetHistogram is called on a TGraph2D.