If you are using a lot of mines it could be a threat prioritizing issue. the ai sees thousands of something so it builds more of the counter to it but i am not a programmer so i dont know if that is even how it works. it does bring me to a small gripe of my own though. Mines make a planet's defences look a lot stronger than they are since 10 mines makes the same amount of ticks on the structures area (when zoomed out) as 10 hangers.
true... but thats why we have scouts... so we can see whats really there.... sure, it means more micro, but you are about to go attack said planet anyway so you should be paying attention... on the other hand, talking about your own defenses... you should know what planets have what defenses 
honestly, though, mines should be scaled down in that structure ticks thingo, enough to let you know how many you have, but.... if you have 150 mines, then...