Compare versions correctly.

I'm done for today before I break everything!