Fixed issues with Promise.spread