temporary fix for summary problem with no records