Prevent duplicate version numbers in content urls

Fixes #702