Problem with displaying summary on home page when no data exists fixed