Fixed an issue in lifetime calculations.