Fixed a small bug with getLastDamageConditionValue.