chore(cockpit/tree): prevent stackoverlow on instance selection
chore(engine): fix typo

related to CAM-1966