issue #23965: bugfix future histograms