Reindex tables after insertions