That is a good point, but it's not a bug, just a desirable refinement to the auto-build behavior. There's a variety of other rules that would have to be built in to establish the "dangerous to harvesters" group, and that would need to be tracked as rollup list, and the command station could check the count on that list instead of the overall enemy units list. But until we get time for that the behavior is consistent.