Fixing wrong values on the energy dashboard via the devtools should trigger the associated cost values to be recalculated for that period.
Finding the flaw in the cost statistic after manually editing the consumption is tricky if you don’t remember the exact date&time you changed.