Fixed 'expiring in a week' date check