Fix metadata expiration