Treating the ArrayIndexOutOfBounds error of when the startedAt is mal-formed