So in BRF on some fights like hans & franz and flamebender, and probably a few others I haven't noticed yet the count for UnitsAroundUnit seems to be invalid sometimes, I'm guessing on the fights it's registering mechanics (like the stamps and hot plates during hans&franz and the weapons during flamebender) as enemy units thus giving an invalid count and causing the rotation to trigger AoE spells while not actually at the required units.
Hans & Franz (Max of only two targets at any given time)
https://i.imgur.com/GOkdfB4.jpg
https://i.imgur.com/MgiOMwT.jpg
Flamebender (Max of only 1 target as the wolfs weren't spawn at the time of the dump)
https://i.imgur.com/la1nUTF.jpg