Fixing API Key purging

API Key purging was not cleaning asset correctly.