Fix performance issue while rendering the teaser portlet