Fix duplicate indexOf derp