Fix calculations of damage mitigation levels