Add a corner case for calendar portlet rendering