Fix detection of offline users for kick/redirect/pm

This fixes a bug introduced by @55361225120b.