Loop is returning the completely wrong value. - C#