The only time I target allies is so that I dont shadowstep away from enemies when using sc+pistol 3. I have the toggle set to down on my controller.
Honestly its so annoying that Ill probably switch to scepter dagger.
I fixed this problem by turning off my router for about 2 minutes then restarted my compooter. Idk if thisll help you guys but this fixed the error last time I got it.