Correcting bug in expiration of Attributes