Fix for handling multiple carton paths

https://twitter.com/sugyan/status/444085819960090624