Okay I think this is a bug from what I think is "suppose" to happen.
Bug:
On any planet you control (prefferably one already with some structures). If you have one building in the que and you complete it by buying out the production cost. it will be removed from the que. At this point if you had set yoru social production to focus it should be grayed out and showing production moved to military.
Add a new building to the que and you would expect the social production frame to return to color and show the correct number of social production units. Also the correct time to completion isn't updated with the new building. When you unfocus the social frame and refocus it the correct production will display and the time to completion will be correct.
This appears to be mostly visual and i haven't noticed actual gameplay problems, but when you go through and buy out the production on lots of buildings then you'll notice it very often. I just wanted to put this out there for comment and hopefully a fix.