Fixed dynamic zombie groups being incorrectly flagged as hordes

Fixed a bug in PR #6611 where dynamic zombie groups were being flagged as hordes, causing them to wander and be visible on the overmap.

Fixes issue #7371