The code clearly intended for the {nav Switch User} button to only be visible when thereBecause the fake {nav Switch User} item in the switcher UI counts as a session, the button
was always being shown. But if and when that changes and the fake item is no longer shown,
was more than one session,the {nav Switch User} but a subtle bug prevented this from working: the fake "newton itself will stops being shown potentially locking out
session" session that's added to the model increases its size by one, makingnon-logged-in users in multi-user computers where the only logged-in user has locked the
conditional always truescreen.
This patch fixedrops the bug by testing against a number appropriate for whether or notconditional check entirely and always shows the {nav Switch User"
the fake "new session" session exists, since it's configurablebutton.