Invalidate cache after fixing duplicated entries.