Gramps Web & Gramps 6.0

Could it be a timing issue? Perhaps the script is still completing the import and ignores/preempts/overwrites the reindex?