Wip 4974

It fixes Via's store, but haven't dumped the transactions yet to make sure the correct ordering is being maintained -- although, logic-wise, it should (but would love to make sure before merging this).