Fix index overrun with piped_config

There is an index overrun with j++. This was a bug introduced during merge from pull 55  but it wasn't at least in the PR https://github.com/indutny/bud/pull/55/files