Fixed a problem when saving rakat expiry