could you emit the version as part of the key and then do the query by version in the code that calls it? might also be a bit clunky, since you'll have to explicitly query all prior versions, but think it could work.