Bugfix for vanished threads processing: they must be removed from index array before next thread lookup