Bugfix: Unresolved deferreds returned by then() now pass their resolved
value to the next tick in the callback chain.