Fix bug in checking if player is online.