Fixed logicall error in UpdateChecker.