This is an inherent part of the gameplay: zombies, as well as foundry and mineshaft levels, are reset when you move to the next mine. However, you keep the more valuable resources, such as Gems, Essence, and card upgrades.