Forgot to minus one from the target count

Indexes start at 0 not 1! #17