This problem has been happening since at least ArmA 2.
We use these commands to return list of players to allow other players to see icons above friendlies as well as perform other cooperative actions and this problem bothers us alot since players accustomed to seeing icon over friends shoot teammates that are affected by this bug as they don't have icon over them.