This happens in single missions and this is more rule than exception. Commands do not help.
This seems to be something in the AI coding only few will know. Would be good if this can be fixed.