Fix previous commit in TF1::GetHistogram  for TF2 and TF3