Make sure prevVal is correct in successive eachchange events