Fix system web detection logic.