Add deactivate and reactivate actions before/after index operation