Got the PTO calculations for bug #7377.