Minor code optimizations

... by using the defined-or operator. That makes the code more readable (and less buggy as passing Valid => 0 to UserList searched for valid users).