BUG: fix broken backport of histogramdd edge fix 96892ca60