[UpdateManager] Better if-condition check (thx stickell)