Fixing an off by one error! Facepalm...