resolveWith & rejectWith arguments bug fix for deferred. Made `when` work.