As Designed Invisible Members are counted as total online members

Visible number of members is not matching the total number of members online here. For example
it is showing there are 58 members online but the visible members is only
48, where other 10 members are invisible / hidden here.

My fix: Provide a option in ACP that if the admin wants to count the invisible members or not.
Code fix: Inside "library\XenForo\Model\Session.php" around line 57, find:

Code:

$conditions['getInvisible'] = true; // filtered out if needed, but included in count

replace with:

Code:

$conditions['getInvisible'] = false; // filtered out if needed, but included in count