Use version_compare() instead of my weird if