Cleanup version comparison

Tuple comparison is cleaner, hat-tip to pedro :)