Fixed logic in the edge score histograms to account account for 1st & 2nd order, or only 1st or only 2nd order hists