Fix for bug where contagion value would calculate to 1