A fix for bug #8157.  It now correctly uses the difference between this reading and the last one to calculate flow.