Fix bug in version check