Removed debug check read in update_indexes_internal