Corrected bug in calculateSum() of track collection.