If you change your plan in the middle of the subscription period and you have not yet used up your current reference allowance, the remaining reference allowance will extend through the first subscription period (month/year) of your new subscription plan.
When your new plan renews, the reference allowance will reset to the new starting total.