Hi Slava, this can't result in an infinite loop, it will terminate at worst at the size of the valid det id list...