fix for days where all activities were inactive ones