minor bug fix on the summary stats (defaulting undefined values to zero)