IndexOf being weird? (Advent of Code day1 semi-spoiler?) - C#