HistogramAxes: added safety check for corner-case bug