Fixing version number comparison

Forgot to convert the parts array elements back to integers for the comparison...