Bug fixes in cache updates.