Fix an off-by-one error in the condition of the index method.
Fix an off-by-one error in the condition of the index method.

milseman/swift,apple/swift,milseman/swift,tinysun212/swift-windows,deyton/swift,calebd/swift,natecook1000/swift,atrick/swift,manavgabhawala/swift,alblue/swift,harlanhaskins/swift,brentdax/swift,brentdax/swift,OscarSwanros/swift,xwu/swift,ken0nek/swift,gmilos/swift,modocache/swift,aschwaighofer/swift,devincoughlin/swift,hooman/swift,OscarSwanros/swift,allevato/swift,sschiau/swift,swiftix/swift,alblue/swift,xwu/swift,austinzheng/swift,karwa/swift,JaSpa/swift,jckarter/swift,huonw/swift,shajrawi/swift,tinysun212/swift-windows,parkera/swift,jckarter/swift,CodaFi/swift,airspeedswift/swift,practicalswift/swift,allevato/swift,airspeedswift/swift,sschiau/swift,return/swift,jmgc/swift,bitjammer/swift,felix91gr/swift,return/swift,calebd/swift,brentdax/swift,Jnosh/swift,Jnosh/swift,atrick/swift,brentdax/swift,djwbrown/swift,parkera/swift,practicalswift/swift,austinzheng/swift,sschiau/swift,hughbe/swift,huonw/swift,nathawes/swift,shahmishal/swift,natecook1000/swift,JGiola/swift,uasys/swift,jmgc/swift,jopamer/swift,karwa/swift,calebd/swift,IngmarStein/swift,kstaring/swift,xedin/swift,tkremenek/swift,danielmartin/swift,hooman/swift,ahoppen/swift,JaSpa/swift,jtbandes/swift,felix91gr/swift,kperryua/swift,apple/swift,JGiola/swift,jtbandes/swift,CodaFi/swift,russbishop/swift,jopamer/swift,lorentey/swift,tjw/swift,codestergit/swift,ben-ng/swift,austinzheng/swift,russbishop/swift,tkremenek/swift,xwu/swift,JaSpa/swift,tkremenek/swift,manavgabhawala/swift,hughbe/swift,shahmishal/swift,devincoughlin/swift,felix91gr/swift,gribozavr/swift,codestergit/swift,sschiau/swift,lorentey/swift,djwbrown/swift,xedin/swift,therealbnut/swift,bitjammer/swift,jckarter/swift,shajrawi/swift,OscarSwanros/swift,jckarter/swift,shahmishal/swift,zisko/swift,amraboelela/swift,stephentyrone/swift,glessard/swift,roambotics/swift,practicalswift/swift,bitjammer/swift,xedin/swift,gregomni/swift,brentdax/swift,arvedviehweger/swift,codestergit/swift,zisko/swift,swiftix/swift,jtbandes/swift,ken0nek/swift,atrick/swift,hooman/swift,tardieu/swift,kstaring/swift,danielmartin/swift,hughbe/swift,kperryua/swift,djwbrown/swift,hooman/swift,airspeedswift/swift,karwa/swift,CodaFi/swift,gribozavr/swift,milseman/swift,airspeedswift/swift,modocache/swift,shajrawi/swift,deyton/swift,jmgc/swift,shajrawi/swift,aschwaighofer/swift,ken0nek/swift,shahmishal/swift,gottesmm/swift,gmilos/swift,ken0nek/swift,harlanhaskins/swift,manavgabhawala/swift,shajrawi/swift,therealbnut/swift,felix91gr/swift,jtbandes/swift,shajrawi/swift,allevato/swift,rudkx/swift,natecook1000/swift,gribozavr/swift,zisko/swift,ahoppen/swift,return/swift,natecook1000/swift,devincoughlin/swift,aschwaighofer/swift,amraboelela/swift,stephentyrone/swift,IngmarStein/swift,roambotics/swift,benlangmuir/swift,aschwaighofer/swift,ahoppen/swift,frootloops/swift,airspeedswift/swift,frootloops/swift,milseman/swift,modocache/swift,tkremenek/swift,gregomni/swift,natecook1000/swift,danielmartin/swift,gribozavr/swift,swiftix/swift,huonw/swift,lorentey/swift,ben-ng/swift,kstaring/swift,tjw/swift,therealbnut/swift,therealbnut/swift,uasys/swift,djwbrown/swift,JGiola/swift,jmgc/swift,milseman/swift,hughbe/swift,parkera/swift,JGiola/swift,danielmartin/swift,return/swift,practicalswift/swift,alblue/swift,djwbrown/swift,Jnosh/swift,huonw/swift,Jnosh/swift,kperryua/swift,JaSpa/swift,JGiola/swift,JaSpa/swift,tjw/swift,calebd/swift,brentdax/swift,kperryua/swift,modocache/swift,milseman/swift,gmilos/swift,kperryua/swift,austinzheng/swift,atrick/swift,practicalswift/swift,tardieu/swift,calebd/swift,roambotics/swift,danielmartin/swift,CodaFi/swift,shahmishal/swift,felix91gr/swift,tardieu/swift,natecook1000/swift,manavgabhawala/swift,gottesmm/swift,russbishop/swift,practicalswift/swift,russbishop/swift,harlanhaskins/swift,amraboelela/swift,xedin/swift,jmgc/swift,frootloops/swift,tinysun212/swift-windows,manavgabhawala/swift,huonw/swift,ben-ng/swift,djwbrown/swift,codestergit/swift,xedin/swift,glessard/swift,gribozavr/swift,bitjammer/swift,lorentey/swift,roambotics/swift,shahmishal/swift,tjw/swift,djwbrown/swift,allevato/swift,lorentey/swift,deyton/swift,swiftix/swift,karwa/swift,IngmarStein/swift,shajrawi/swift,harlanhaskins/swift,ben-ng/swift,jtbandes/swift,jopamer/swift,practicalswift/swift,JGiola/swift,tkremenek/swift,nathawes/swift,parkera/swift,xwu/swift,therealbnut/swift,arvedviehweger/swift,parkera/swift,xwu/swift,uasys/swift,kstaring/swift,lorentey/swift,codestergit/swift,tardieu/swift,nathawes/swift,frootloops/swift,jopamer/swift,glessard/swift,amraboelela/swift,benlangmuir/swift,arvedviehweger/swift,milseman/swift,ben-ng/swift,roambotics/swift,gribozavr/swift,zisko/swift,tinysun212/swift-windows,CodaFi/swift,gottesmm/swift,nathawes/swift,tkremenek/swift,tjw/swift,allevato/swift,gmilos/swift,ken0nek/swift,OscarSwanros/swift,frootloops/swift,arvedviehweger/swift,amraboelela/swift,IngmarStein/swift,airspeedswift/swift,brentdax/swift,devincoughlin/swift,deyton/swift,harlanhaskins/swift,nathawes/swift,shahmishal/swift,tinysun212/swift-windows,jckarter/swift,airspeedswift/swift,sschiau/swift,austinzheng/swift,arvedviehweger/swift,swiftix/swift,jckarter/swift,zisko/swift,bitjammer/swift,arvedviehweger/swift,jopamer/swift,ben-ng/swift,dreamsxin/swift,nathawes/swift,IngmarStein/swift,arvedviehweger/swift,jmgc/swift,hooman/swift,atrick/swift,karwa/swift,JaSpa/swift,swiftix/swift,amraboelela/swift,deyton/swift,amraboelela/swift,hooman/swift,apple/swift,shahmishal/swift,bitjammer/swift,parkera/swift,austinzheng/swift,benlangmuir/swift,harlanhaskins/swift,glessard/swift,IngmarStein/swift,danielmartin/swift,tardieu/swift,lorentey/swift,Jnosh/swift,tardieu/swift,gottesmm/swift,modocache/swift,benlangmuir/swift,zisko/swift,codestergit/swift,felix91gr/swift,roambotics/swift,manavgabhawala/swift,xedin/swift,ken0nek/swift,uasys/swift,devincoughlin/swift,tinysun212/swift-windows,uasys/swift,gregomni/swift,stephentyrone/swift,harlanhaskins/swift,karwa/swift,tardieu/swift,russbishop/swift,Jnosh/swift,kstaring/swift,xedin/swift,russbishop/swift,gribozavr/swift,hughbe/swift,frootloops/swift,xwu/swift,rudkx/swift,OscarSwanros/swift,uasys/swift,jmgc/swift,gregomni/swift,shajrawi/swift,natecook1000/swift,stephentyrone/swift,karwa/swift,gottesmm/swift,benlangmuir/swift,deyton/swift,glessard/swift,aschwaighofer/swift,jopamer/swift,xedin/swift,tinysun212/swift-windows,gottesmm/swift,apple/swift,kstaring/swift,alblue/swift,modocache/swift,swiftix/swift,ahoppen/swift,karwa/swift,gregomni/swift,gregomni/swift,hooman/swift,stephentyrone/swift,OscarSwanros/swift,jtbandes/swift,JaSpa/swift,felix91gr/swift,benlangmuir/swift,sschiau/swift,tjw/swift,return/swift,apple/swift,allevato/swift,lorentey/swift,codestergit/swift,gottesmm/swift,parkera/swift,therealbnut/swift,manavgabhawala/swift,gmilos/swift,allevato/swift,jopamer/swift,gmilos/swift,gmilos/swift,zisko/swift,devincoughlin/swift,frootloops/swift,aschwaighofer/swift,jtbandes/swift,alblue/swift,stephentyrone/swift,dreamsxin/swift,IngmarStein/swift,rudkx/swift,calebd/swift,danielmartin/swift,tjw/swift,xwu/swift,rudkx/swift,CodaFi/swift,devincoughlin/swift,hughbe/swift,parkera/swift,modocache/swift,kstaring/swift,Jnosh/swift,return/swift,apple/swift,CodaFi/swift,tkremenek/swift,deyton/swift,bitjammer/swift,rudkx/swift,ken0nek/swift,calebd/swift,alblue/swift,kperryua/swift,OscarSwanros/swift,ben-ng/swift,gribozavr/swift,rudkx/swift,uasys/swift,stephentyrone/swift,huonw/swift,glessard/swift,devincoughlin/swift,huonw/swift,sschiau/swift,atrick/swift,alblue/swift,jckarter/swift,kperryua/swift,nathawes/swift,therealbnut/swift,ahoppen/swift,sschiau/swift,practicalswift/swift,russbishop/swift,return/swift,austinzheng/swift,aschwaighofer/swift,hughbe/swift,ahoppen/swift