Handle zero values in duration histogram