If you use the keyboard you need to carefully watch who the intended target is when setting up attacks or healing and such for that matter. You can get better results sometimes using the mouse to select the target so you don't accidentally attack a party member or heal an enemy. I used plugins for expanded controls and something is a bit off from what I expect and still haven't figured out fully what's going on although the good thing is it's reproducible. I just need to dig into someone else's code to see why it's not exactly what I want :)
I almost forgot also that the default behavior in the engine is that the mouse cursor determines the target if it's sitting on a valid target. SO if the mouse cursor is sitting on one of your party members then no matter what you tryto do with the keyboard they will get selected. I may remove the enhanced targeting as I don't see an easy way to use it and filter out so attacks only hit enemies and healing and such only hit friendlies. I'll have to do some updates to the help file anyhow and will add those hints in.
I have a couple days off work this week so may try to push another update out soon.