manager: do not endless loop while removing item

fixes collection removal.
See #723317