Strange behaviour in PortletExporter