Fixed another bug: When result of logregr is NULL, need to detect it and reflect in the summary