Fixes pages portlet.