Fix index overrun with piped_config