Adding a check for existance of summary objects to avoid exception.