Fix earned value at period end