Fixed null pointer exception when no summaries.