Fixed an out of bounds bug