Fix bug where parallel sibling branchs didn't collapse correctly