Fix off by one error that resulted in less than the full amount of target output being output to the user.