Fixes error: SHOWUPDATER: local variable 'cur_indexerid' referenced before assignment