Fix import task: id_seq and search index