Ooops. The UA check should be in reverse.