I think some wrong in your schema when retroactive accounting. Plz check your payroll schema carefully, running in display log mode to verify. I have to documents, I believe they are useful for you:
Understanding Retroactive Accounting
Relationship Time Evaluation and Payroll
If you want to have more, plz check in my blog in scn.
Regards,
Woody