I have no idea how to mod so take this suggestion with a pinch of salt I use the option closest to warband where you have to block each individual attack and like I said it gets a bit confused when there are more than one enemy close by so my thinking is we have seen its hard to hit over an friendly's shoulder so if the enemy is more than one and the others are further back lets say just behind the one in front of you the one in front of you should get full priority for his weapons' attack because even if the ones behind try to hit you there hits will just hit there friend and not go further don't know if it can be done but might help with the blocking mechanic getting confused.
The version I'm working on will be a Major improvement when fighting against multiple enemies. As it stands, it should choose the one you're looking at first(Which is off at times), or the closest enemy to you. That will change once I push out the update.
Mod seems to be working flawlessly now, thank you!
Glad it's working for you now! I've spent countless hours ironing things out, so hopefully it continues to get better.