The effects of the bug should now have been reversed for everyone who gained a significant amount of XP from it. If you still have some events from it let me know and 'll delete them. For those that gained XP from it: I reset your XP to the midpoint between the two levels, if you have proof of a more up-to-date level let me know and 'll change it.
edit: All mining factions should now have their events deleted and credits refunded. BK will be removing the excess materials later. DO NOT touch them.