Fixed one inconsistency with GPDB, and one bug

A bug in summarizing CV result function is fixed.