Hub is showing wrong active theme

Hub is showing wrong theme as active in multiple sites. The theme it is showing in the sites as active is activated in one of my site. But though that theme is not in those site but it is showing it as active and the activated theme is not showing. The theme that is active in my site is a child theme of Genesis theme and it is not showing in the hub. Also the Genesis theme is showing as inactive. I have tried to remove all the sites from the hub and then added them again. The strange thing is when I removed the sites from the hub and added them again they were showing correct themes but as soon as I added the site that actually have the theme (which is showing earlier in all the other sites) all the sites are showing the wrong theme.