Fixed off by one error. Oops.