Enslave demon registering on wrong player

In the report linked below the enslaved infernal on the nefarian fight registered pet damage on Noshards instead of Flämt, as Noshards has no casts of Enslave Demon during that fight. Is it a bug or avoidable in some way?

https://classic.warcraftlogs.com/reports/compare/VDzcqfF6vnj9xAWG/VDzcqfF6vnj9xAWG#fight=43,43&source=22,44&type=casts

https://classic.warcraftlogs.com/reports/compare/VDzcqfF6vnj9xAWG/VDzcqfF6vnj9xAWG#fight=43,43&source=22,44&type=damage-done