I had fixed something in that area in 2.5.1, but if that wasn't enough, please wait for 2.6 beta (very soon) and report back how it works.
Tired of updating your mod for every new ROM release?
You want give users the possibility to combine different mods without creating tons of different files for all possible combinations?
Then have a look at my Xposed framework
- modifications without APK changes!