fix mapModel.contextForNode to provide correct value for hasSiblings when nodes are on different sides