This question already has an answer here:
I had a total of 10 bronze badges when I had only one login using my company ID, but once I added my personal email ID for login, I just got the badges count in Stack Overflow reset to 7; today it got incremented to 8. But surprisingly reputation has not been affected.
It's just getting screwed up. Any idea how to get my badges back?