play with cheats. Spawn the boss in question, then look at the log.
This will give you a starting point where the problem lies.
I have tons of units attached to other units (buildings and mobile alike), they come and go based on which attachment or power-up was taken, or which enhancement built, so that part should not be an issue.
But the log is your friend, use it.