Correct invoice period end value