fix issue with collapsing when searching in scenario content