Fixed bug in HasUpdate.

Was incorrectly checking version against itself.
Spotted by @pjf.