Expiration header was not correctly computed in case of non current versions. The behavior is fixed in this commit.