Fixed dumping sh histroies.
Merge pull request #335 from axsh/feature-vdc-vnet-integration

Fixed dumping sh histroies.
Merge branch 'master' into feature-shared-vol
add nil checks.