Fix a problem where a rejected promise would be asserted upon further down the chain rather than throw its rejection value