Fix version comparisons CRM-12335
Merge pull request #412 from colemanw/versionCheck

Fix version comparisons CRM-12335