Changes: - Optimize coalescing of snapshots on a system with a DB. - Avoid division by zero when creating snapshots. [1] PR: 203115