[#74036324] fixing condition check on item retirement