Fixing bug in mortality