[Bug 1033339] Fix latest_version in product view.

This is a partial revert of 64d896f1d7524a4b45648a10ee2d99988eb49e83