Use the new compareVersions() function where appropriate