Soundtracks for BG:EE, SoD, BG2:EE, IWD:EE, PST:EE are now available
in the Beamdog store.
This detection was always broken in BG2:ToB. From my forum searches, and my own testing of the BP Series scripts, I'm concluding that it's still broken in BGEE. Not earthshattering, as there's a modder's workaround I'm going to be employing for now (vaguely similar to what you did with Dorn's sword, a custom sec. school and spells that apply a custom stats value). But, if you're under the engine hood anyways and nearby, it would be nice to see fixed.
P.S: Keep up the great work!