Fixed an off-by-one index derp