Fixes a bug that caused pipeline to crash when rerunning search and extract_loci found a few new GIs, but not too many.