Change to schedule end activity after all activities not always at end
of interval