Fix validity period change