Created by: Neuheit
I forgot to change the activities' indexing variable in #573 from i to j. This fixes an IndexOutOfRangeException from being thrown.
i
j
IndexOutOfRangeException