Changes to fix summary information about dataset, issue #4196