Select correct branch keys in `vivify`.

Closes #97.