[#69298] Resource Management: cleanup details - update if condition