Compare versions in a more readable way.

Well, either version of the checks do the same thing, but I had some problems understanding how it's done at first.