Fixing root-to-EDM histogram index off-by-one error