fix a javascript ypeo that broke bulk reindexing