Fix most recent version if there are no release versions

If there are no release versions, the site will just pick the first version available. This is likely wrong, as the latest prerelease version should be shown.

Example: https://rubygems.org/gems/judopay