Had the version check the wrong way round