Fix bug that collapsed duplicate versions.

Resolves: https://www.pivotaltracker.com/story/show/75910204