Invalidate both indexes and rewritten indexes