You have correctly identified the problem. When the player name field contains either invalid or undisplayable data, the name is missing when scouting the base, and defaults to the player name 'leader' in lists.
This has been encountered and experienced regularly. In dominations.pl you can...