Remove this check, the value can be 0 here if the target is the first item in the array.