fixed the duration functions in the ResultSummary domain.