Bug 1061614 - Properly merge calls that happened in the same day into groups during database upgrades