Fix IA expiring logic