Fixed client upgrade version compare