While this is intended behavior because we do not want to partial-settle into a period that may later be proven, endEpoch might not be in the current proving period. The logic should be changed to only settleUpTo fromEpoch if endEpoch is in the current proving period.