Fix config version checking