Need to handle the case where there are no portlet nodes.