(#2072) WIP - don't recalculate winningRev in idb.js