fix bugs with finding indexing workers to assign