I've seen it happenning that since AI new units reach the rally point with an attack-move sometimes the AI used new war miners in base defence due to the attack move. But these units went to harvest after they defeated the threat in the base and started idling thenafter, so I presume this'll be fine as well.